home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / tsr4c.zip / CLOCKID.C < prev    next >
Text File  |  1992-02-27  |  2KB  |  64 lines

  1. /*************************************************************************
  2.    This module contains ALL disposable data only.  The marker at the end
  3.    called init_end_data is just a marker to the end of disposable data
  4.  
  5.    NO CODE CAN BE PUT INTO THIS MODULE, DATA ONLY 
  6. **************************************************************************/
  7.  
  8.  
  9. #include "cr.h"
  10.  
  11.  
  12. /* Video attributes for signon screen. The last one is for the Clock */
  13.  
  14. char attrc[]={0x17,0x1E,0x13,0x1F,0x1B,0xA}; /* Color screen attributes */
  15. char attrm[]={0x07,0x0F,0x07,0x07,0x07,0xF}; /* Mono screen attributes  */
  16.  
  17. /* This is the signon message */
  18.  
  19. char sms[]= "`0"
  20.         "█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█`m"
  21.         "█`1     CLOCK  1.24      `0█`m"
  22.         "█`2     ───────────      `0█`m"
  23.         "█`3  (c) Copyright 1992  `0█`m"
  24.         "█`3   Omega Point, Inc.  `0█`m"
  25.         "█`2     ───────────      `0█`m"
  26.         "█`4     Written by:      `0█`m"
  27.         "█`4      RGL & RVT       `0█`m"
  28.         "█`2     ───────────      `0█`m"
  29.         "█`1   Unload: `3CLOCK -r   `0█`m"
  30.         "█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█`n`5";
  31.  
  32.  
  33. char already[]="Error - CLOCK already present.`n"
  34.                "Enter CLOCK -R to unload.";
  35.  
  36. char unloaddone[]="CLOCK has been removed from memory.";
  37. char unloadnot[]="CLOCK could not be removed from memory.";
  38.  
  39. char _tsr_name[]="CLOCK (C) 1992 OP";
  40.  
  41.  
  42. struct cfg_rec config_block = {    /* This record stays in only one module */
  43.     sizeof(config_block),    /* Configuration block size */
  44.     'O','P','C','L',    /* Program ID string */
  45.     100,            /* Version 1.00 */
  46.     };
  47.  
  48. /***********************************************************
  49.  STORE THIS IMMEDIATELY AFTER THE LAST DISPOSABLE DATA ITEM
  50. ************************************************************/
  51.  
  52. /****  1. Store all install_?? type function pointers into install_list ****/
  53.  
  54.  
  55. fp install_list[]={install_tsc};  /* Only tiny scheduler used */
  56.  
  57.  
  58. /****  2. Put Marker for the end-of-init-data (must be = NONZERO) ****/
  59.  
  60. word init_data_end=1;
  61.  
  62. /************************************************************************/
  63.  
  64.